package com.zp.kidshop.shop.controller.common;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.zp.kidshop.common.constant.JSPLocationConst;
import com.zp.kidshop.common.controller.BaseController;
/**
 * @Title: publicController.java
 * @Package com.zp.kidshop.shop.controller.common 
 * @Description: 公共的头部和底部
 * @author 张鹏  
 * @date 2017年3月28日 下午4:20:26 
 * @version V1.0
 */
@Controller
@RequestMapping("public")
public class publicController extends BaseController{

	@RequestMapping("/header")
	public String header(@RequestParam Map<String,String> parMap,HttpServletRequest request,
			HttpServletResponse response,HttpSession session){
		
		return JSPLocationConst.HEADER;
	}
	
	@RequestMapping("/footer")
	public String footer(@RequestParam Map<String,String> parMap,HttpServletRequest request,
			HttpServletResponse response,HttpSession session){
		
		return JSPLocationConst.FOOTER;
	}
}
